package com.nogroup.springbootproject.dto;

import com.nogroup.springbootproject.entity.Course;
import lombok.Data;

import java.io.Serializable;

@Data
public class CourseDto extends Course implements Serializable {
    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public int getLimit() {
        return limit;
    }

    public void setLimit(int limit) {
        this.limit = limit;
    }

    int page;
    int limit;


}